import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import AsyncComputed from 'vue-async-computed'
// import 'element-plus/lib/theme-chalk/index.css'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import '@/styles/iconfont.css'
import '@/styles/element-variables.scss'
import '@/z/index'

import $z from '@/z/zindex'
const app = createApp(App)
  .use(store)
  .use(ElementPlus, { locale })
  .use(router)
  .use(AsyncComputed)
//
console.log(process.env.NODE_ENV)
console.log(process.env)
app.config.globalProperties.$z = $z
app.mount('#app')
